﻿/*
* FilePathProvider.h
*
* 数据基类
*
* create date: 2014.4.18
* create by: leo
*
*/

#ifndef _FILEPATHPROVIDER_H_
#define _FILEPATHPROVIDER_H_

#include "cocos2d.h"
#include "../Common.h"
#include "DataProvider.h"


class CFilePathProvider : public CDataProvider
{
public:
	static CFilePathProvider& getInstance();

	virtual bool initWithFile(const char* filePath);

	cocos2d::CCString getFilePath(const char* path);

protected:
	CFilePathProvider();
	virtual ~CFilePathProvider();

protected:
	cocos2d::CCDictionary mPathDict;

};

#endif // _FILEPATHPROVIDER_H_
